using System;
using System.IO;
using Servlets.Http;
using Servlets.Exceptions;
using System.Collections.Generic;
using Servlets.Api;

namespace Servlets.Http
{
	public class IndexableValue<T> : IValue<T> 
	{
		private Dictionary<string,T[]> _values = new Dictionary<string,T[]>();
		
		public T this [string key]{
			get {
				return _values[key][0]; 
			}
		}
		
		public T[] All(string key) 
		{
			return _values[key];
		}
		
		public IndexableValue()
		{
			
		}
	}
}

